package com.wangyadong.hobby.schedule.jobtask.javasync.Observerable.observer;

/**
 * <p>
 * 具体观察者
 *
 * @author <714037465@qq.com>
 * @since 2018/11/1517:37
 **/
public class ConcreteObserver implements Observer {

    private String observerState;

    @Override
    public void update(String state) {
        this.observerState = state;
        System.out.println("the oberser states update to  " + this.observerState);
    }
}
